package com.xbongbong.pro.statistic.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.pro.domain.entity.ChartCategoryTextEntity;
import com.xbongbong.pro.statistic.pojo.dto.ChartCategoryTextUpdateBatchDTO;

import java.util.List;

/**
 * @ClassName ChartCategoryTextService
 * @Description 文本组件
 * @Author mengna.Deng
 * @Date 2021/11/30 15:18
 * @Version 1.0
 */
public interface ChartCategoryTextService {
    /**
     * 仪表盘中文本组件的修改
     * @param chartCategoryTextSaveDTO
     * @return
     * @throws XbbException
     */
    BaseVO updateBatch(ChartCategoryTextUpdateBatchDTO chartCategoryTextSaveDTO) throws XbbException;

    void limit(String corpid, Long categoryId, List<ChartCategoryTextEntity> textList) throws XbbException;
}
